<?php

defined('o') || exit('404 not find file'); //防跳墙

$test = new model('xxx_tab');
$temp = $test -> querydata(array('id', 'name', 'val'), ' where 1=1 limit 10');

$test -> close();

$control = new control();
$test1 = $control -> get_templet();
$file = basename(__FILE__);
$dir = 'select';
$templet = config :: create() -> systems['templet'];
$test1 -> set_file($file, $dir . '//' . $control -> get_model($templet, $dir, $file));

$test1 -> set_list($file, 'id', 'list', $temp);
$test1 -> set_list($file, 'id', 'list1', $temp);
$test1 -> set_list($file, 'id', 'list2', $temp);
$test1 -> set_list($file, 'id', 'list3', $temp);
$test1 -> set_val($file, 'tit_le', '新网页');
$test1 -> parse($file);

?>